package com.eastfair.home.dto;

import com.eastfair.home.enumeration.ReportDrawingCategoryAuditHistoryAuditStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 实体类
 * 报馆图纸分类审核记录历史
 * </p>
 *
 * @author dq
 * @since 2022-08-08
 */
@Data
@ApiModel(value = "ReportDrawingCategoryAuditHistoryUpdateDTO", description = "报馆图纸分类审核记录历史")
public class ReportDrawingCategoryAuditHistoryDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 报馆图纸分类审核ID
     */
    @ApiModelProperty(value = "报馆图纸分类审核ID")
    private Long reportDrawingCategoryAuditId;
    /**
     * 报馆审核ID
     */
    @ApiModelProperty(value = "报馆审核ID")
    private Long reportSpaceAuditId;
    /**
     * 报馆ID
     */
    @ApiModelProperty(value = "报馆ID")
    private Long reportSpaceId;
    /**
     * 图片分类ID
     */
    @ApiModelProperty(value = "图片分类ID")
    private Long drawingCategoryId;
    /**
     * 图片分类名称
     */
    @ApiModelProperty(value = "图片分类名称")
    @Size(max = 100, message = "图片分类名称长度不能超过100")
    private String drawingCategoryName;
    /**
     * 图片分类序号
     */
    @ApiModelProperty(value = "图片分类序号")
    private Integer drawingCategorySort;
    /**
     * 是否双层：0-否，1-是
     */
    @ApiModelProperty(value = "是否双层：0-否，1-是")
    private Integer isDouble;
    /**
     * 是否吊点：0-否，1-是
     */
    @ApiModelProperty(value = "是否吊点：0-否，1-是")
    private Integer isPoint;
    /**
     * 审核状态 #{REPORTING:待审核;APPROVED:审核通过;NOT_APPROVED:审核未通过}
     */
    @ApiModelProperty(value = "审核状态 #{REPORTING:待审核;APPROVED:审核通过;NOT_APPROVED:审核未通过}")
    private ReportDrawingCategoryAuditHistoryAuditStatusEnum auditStatus;
    /**
     * 审核意见
     */
    @ApiModelProperty(value = "审核意见")
    @Size(max = 200, message = "审核意见长度不能超过200")
    private String auditOpinion;
    /**
     * 提交时间
     */
    @ApiModelProperty(value = "提交时间")
    private LocalDateTime reportTime;
    /**
     * 审核时间
     */
    @ApiModelProperty(value = "审核时间")
    private LocalDateTime auditTime;
    /**
     * 审核人id
     */
    @ApiModelProperty(value = "审核人id")
    private Long auditUserId;
    /**
     * 审核人姓名
     */
    @ApiModelProperty(value = "审核人姓名")
    @Size(max = 100, message = "审核人姓名长度不能超过100")
    private String auditUserName;
    /**
     * 报馆图纸审核历史列表
     */
    @ApiModelProperty(value = "报馆图纸审核历史列表")
    List<ReportDrawingAuditHistoryDTO> reportDrawingAuditHistoryList;
    /**
     * 场馆审核人ID
     */
    @ApiModelProperty(value = "场馆审核人ID")
    private Long venueAuditUserId;
    /**
     * 场馆审核姓名
     */
    @ApiModelProperty(value = "场馆审核姓名")
    @Size(max = 100, message = "场馆审核姓名长度不能超过100")
    private String venueAuditUserName;
    /**
     * 场馆审核状态
     */
    @ApiModelProperty(value = "场馆审核状态")
    @Size(max = 64, message = "场馆审核状态长度不能超过64")
    private String venueAuditStatus;
    /**
     * 场馆审核意见
     */
    @ApiModelProperty(value = "场馆审核意见")
    @Size(max = 200, message = "场馆审核意见长度不能超过200")
    private String venueAuditOpinion;
    /**
     * 场馆审核时间
     */
    @ApiModelProperty(value = "场馆审核时间")
    private LocalDateTime venueAuditTime;
    /**
     * 总体审核状态
     */
    @ApiModelProperty(value = "总体审核状态")
    @Size(max = 64, message = "总体审核状态长度不能超过64")
    private String drawingAuditStatus;
}
